<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template('member', 'header'); ?>
<link href="<?php echo CSS_PATH;?>dialog.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH;?>dialog.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH;?>content_addtop.js"></script>
<div id="main-content">
<div id="memberArea">
	<?php include template('member', 'left'); ?>
 <div class="right">
    <div class="hd">
      <h3 class="t12"><strong>建材求购</strong> >><a href="#">管理建材求购</a></h3>
    </div>
	
	<div class="hd01">
<ul>
<li><a href="<?php echo APP_PATH;?>index.php?m=member&c=content&a=published&catid=34" class="hover">管理求购</a></li>
<li><a href="<?php echo APP_PATH;?>index.php?m=member&c=content&a=publish&siteid=1&catid=34" >添加求购</a></li>
</ul>
</div>
<table class="table01">
  <tr>
    <th class="th02" style="width:70%;">建材求购信息</th>
    
	<th class="th02" style="width:30%;">操作</th>
  </tr>
  <?php $n=1;if(is_array($datas)) foreach($datas AS $info) { ?> 
  <tr>
    <td style=" text-align:center;"><?php echo str_cut($info['title'], 60);?></td>
    
	<td style="text-align:center;"><a href="<?php echo APP_PATH;?>index.php?m=member&c=content&a=edit&catid=<?php echo $info['catid'];?>&id=<?php echo $info['id'];?>" class="color13" style="margin:auto 6px;">查看和修改</a>|<a target="_blank" href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=show&catid=<?php echo $info['catid'];?>&id=<?php echo $info['id'];?>" class="color13" style="margin:auto 6px;">查看回复</a></td>
  </tr>
  <?php $n++;}unset($n); ?>
</table>
<div class="bottom">
  <div class="sabrosus"><?php echo $pages;?></div>
</div>
	</div>
</div>
</div>

</body>
</html>
